using System;

namespace BTKERP.Model
{
	#region ProductRecipeUnit
	/// <summary>
	/// This object represents the properties and methods of a ProductRecipeUnit.
	/// </summary>
	[Serializable]
	public class ProductRecipeUnit
	{
		protected Guid _id;
		protected int _unitId;
		protected decimal _numberPerPackUnit;
		protected decimal _shrinkage;
		protected DateTime _createdOn;
		protected string _createdBy = String.Empty;
		protected DateTime _updatedOn;
		protected string _updatedBy = String.Empty;
		
		public ProductRecipeUnit()
		{
		}
		
		#region Public Properties
		public Guid Id
		{
			get {return _id;}
			set { _id = value;}
		}
		
		public int UnitId
		{
			get {return _unitId;}
			set {_unitId = value;}
		}

		public decimal NumberPerPackUnit
		{
			get {return _numberPerPackUnit;}
			set {_numberPerPackUnit = value;}
		}

		public decimal Shrinkage
		{
			get {return _shrinkage;}
			set {_shrinkage = value;}
		}

		public DateTime CreatedOn
		{
			get {return _createdOn;}
			set {_createdOn = value;}
		}

		public string CreatedBy
		{
			get {return _createdBy;}
			set {_createdBy = value;}
		}

		public DateTime UpdatedOn
		{
			get {return _updatedOn;}
			set {_updatedOn = value;}
		}

		public string UpdatedBy
		{
			get {return _updatedBy;}
			set {_updatedBy = value;}
		}
		#endregion
		
	}
	#endregion
}
